package ${serviceTestPackageName};

import ${modelPackageName}.${modelName};
import ${servicePackageName}.${serviceName};

import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"classpath*:*-test.xml"})
public class ${serviceName}Test extends AbstractServiceTest {

    @Resource
    private ${serviceName} ${serviceInstName};

    @Test
    public void testFindList() {
        List<${modelName}> list = ${serviceInstName}.findList(new String[]{"1"}, null, null);
        Assert.assertNotNull(list);
    }

}
